//
//  COCOAFANTopBar.m
//  CocoaFan
//
//  Created by Chen Xianan on 2009-03-26.
//  Copyright 2009 realazy.org All rights reserved.
//

#import "COCOAFANTopBar.h"


@implementation COCOAFANTopBar

- (void)drawRect:(NSRect)rect {
    NSRect bounds = [self bounds];
	NSGradient *grd = [[NSGradient alloc] initWithStartingColor:[NSColor colorWithCalibratedRed:0.84 green:0.84 blue:0.84 alpha:1.00]
													endingColor:[NSColor colorWithCalibratedRed:0.66 green:0.66 blue:0.66 alpha:1.00]];
	[grd drawInRect:bounds angle:-90];
	[grd release];
}

@end
